package com.balloon.logic;

import java.sql.Date;

/**
 *class to store the visited place
 * @author caspar
 */
public class UserVisitedPlace {
    private String object;
    //Type 1 means city; Type 2 means sightspot Type 3 means properties
    private int type;
    private Date time;

    /**
     *
     * @param type
     * @param object
     */
    public UserVisitedPlace(int type,String object){
        this.type=type;
        this.object=object;
    }
/**
 *
 * @param object
 * @param time
 */
    public UserVisitedPlace(String object,Date time){
        this.object=object;
        this.time=time;
    }
/**
 * method to get the time
 * @return time
 */
    public Date getTime(){
        return time;
    }

    /**
 * method to get the object
 * @return object
 */
    public String getObject() {
        return object;
    }
/**
 * method to get the type
 * @return type
 */
    public int getType() {
        return type;
    }

    /**
 * method to set the object
 * @return
 */
    public void setObject(String object) {
        this.object = object;
    }

    /**
 * method to get the type
 * @return
 */
    public void setType(int type) {
        this.type = type;
    }



}
